package com.diepu.www.client.proxy.partner.request.divi;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;

import org.hibernate.validator.constraints.NotBlank;

import com.diepu.www.client.proxy.partner.common.DzApplyDiviInfo;
import com.diepu.www.client.proxy.partner.common.YwBusinessBuyerInfo;
import com.diepu.www.client.proxy.partner.common.YwBusinessCarInfo;
import com.diepu.www.client.proxy.partner.common.YwBusinessLoanInfo;
import com.zjdiepu.www.request.BaseRequest;
/**
 * 申请分期接口
 * @author xiongxiaotun
 *
 */
public class ApplyDiviProxyRequest extends BaseRequest {
	private static final long serialVersionUID = 1L;
	/**
	 * 业务ID
	 */
	@ApiModelProperty(name="busiId",required=false,value="业务ID",example="业务ID")
	@NotBlank(message="业务ID不能为空")
	private String busiId;
	
	@Valid
	private YwBusinessBuyerInfo buyer;
	
	@Valid
	private YwBusinessCarInfo car;
	
	@Valid
	private YwBusinessLoanInfo loan;
	
	@Valid
	private DzApplyDiviInfo divi;
	
	public String getBusiId() {
		return busiId;
	}

	public void setBusiId(String busiId) {
		this.busiId = busiId;
	}
	
	public YwBusinessBuyerInfo getBuyer() {
		return buyer;
	}

	public void setBuyer(YwBusinessBuyerInfo buyer) {
		this.buyer = buyer;
	}

	public YwBusinessCarInfo getCar() {
		return car;
	}

	public void setCar(YwBusinessCarInfo car) {
		this.car = car;
	}

	public YwBusinessLoanInfo getLoan() {
		return loan;
	}

	public void setLoan(YwBusinessLoanInfo loan) {
		this.loan = loan;
	}

	public DzApplyDiviInfo getDivi() {
		return divi;
	}

	public void setDivi(DzApplyDiviInfo divi) {
		this.divi = divi;
	}
}
